import React, { Component } from 'react'
import img2 from '../../assets/images/xiazai2.png'
import './Dow2.scss'
import { Toast } from 'antd-mobile';
export default class DownloadPage1 extends Component {
  lastStop2 = (params) => {
    this.props.history.go(-1)
  }
  
  downLoad2 = (params) => {
    Toast.success('下载完成！', 1);
    setTimeout(()=>{
      this.props.history.push('/')
    },1000)
  }
  render() {
    return (
      <div className='mg-xz2'>
          <div className='mg-xz2-box'>
              <img src={img2} alt=""/>
              <div onClick={this.lastStop2} className='mg-xz2-box-btn1'></div>
              <div onClick={this.downLoad2} className='mg-xz2-box-btn2'>下载</div>
          </div>
      </div>
    )
  }
}
